package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.risk.BpTeamBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import org.springframework.data.domain.Pageable;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/3/4 12:00
 */
public interface BpTeamService {

    ResultBean save(BpTeamBean bpTeamBean);

    ResultBean getById(Long id);

    ResultBean page(Pageable pageable, LocalDate reportDate, int flag);

    ResultBean submit(Long id);

    ResultBean delete(Long id);

    ResultBean verify(Long id, int flag);

    ResultBean getDepart(int flag);

    ResultBean getLastTeam();

    ResultBean workCalculate(List<Long> teamIds);
}
